package Demo3;
class TestDemo implements ITest{

//    子类的访问权限 只能是public
    @Override
    public void TestA() {

    }
}
public class Test{
    public static void main(String[] args) {
        ITest.TestStatic();
        TestDemo testdemo = new TestDemo();
        testdemo.defaultMethod();
    }
}
